package com.bamboo.pistorage.domain;

import com.bamboo.model.enums.COSBucketEnum;

import java.io.File;

/**
* @description 上传文件到cos的参数
* @date 2025/3/26 16:13
* @author chenzh
*/
public class UploadParamEntity {
    /**
     * 目标存储桶信息
     */
    private COSBucketEnum bucketEnum;
    /**
     * 上传到文件中存储桶的key
     */
    private String key;
    /**
     * 本地文件信息
     */
    private File localFile;

    public COSBucketEnum getBucketEnum() {
        return bucketEnum;
    }

    public void setBucketEnum(COSBucketEnum bucketEnum) {
        this.bucketEnum = bucketEnum;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public File getLocalFile() {
        return localFile;
    }

    public void setLocalFile(File localFile) {
        this.localFile = localFile;
    }
}
